package cn.hzxs.zjn.studentmanagement.domain;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.datatype.jsr310.ser.YearSerializer;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
import java.util.List;

/**
 * @Author: Zjn ; Bring it on !!!
 * @Date: 2021/3/23 0023 13:59
 * Note:
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Score {
    @JsonProperty("scoreId")
    private Integer SCOREID;
    @JsonProperty("userId")
    private Integer USERID;
    @JsonProperty("subject")
    private String SUBJECT;
    @JsonProperty("score")
    private Integer SCORE;
    @JsonProperty("time")
    private String TIME;
    @JsonProperty("data")
    private List USERS;
    @JsonProperty("userName")
    private String USERNAME;

    public Score(Object userId, Object score,Object time) {
        this.USERID= (Integer) userId;
        this.SCORE= (Integer) score;
        this.TIME= (String) time;
    }
}
